package com.weimall.pojo;

import java.util.ArrayList;
import java.util.List;

public class GgImportExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GgImportExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBbnameIsNull() {
            addCriterion("BBName is null");
            return (Criteria) this;
        }

        public Criteria andBbnameIsNotNull() {
            addCriterion("BBName is not null");
            return (Criteria) this;
        }

        public Criteria andBbnameEqualTo(String value) {
            addCriterion("BBName =", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameNotEqualTo(String value) {
            addCriterion("BBName <>", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameGreaterThan(String value) {
            addCriterion("BBName >", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameGreaterThanOrEqualTo(String value) {
            addCriterion("BBName >=", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameLessThan(String value) {
            addCriterion("BBName <", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameLessThanOrEqualTo(String value) {
            addCriterion("BBName <=", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameLike(String value) {
            addCriterion("BBName like", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameNotLike(String value) {
            addCriterion("BBName not like", value, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameIn(List<String> values) {
            addCriterion("BBName in", values, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameNotIn(List<String> values) {
            addCriterion("BBName not in", values, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameBetween(String value1, String value2) {
            addCriterion("BBName between", value1, value2, "bbname");
            return (Criteria) this;
        }

        public Criteria andBbnameNotBetween(String value1, String value2) {
            addCriterion("BBName not between", value1, value2, "bbname");
            return (Criteria) this;
        }

        public Criteria andXhIsNull() {
            addCriterion("XH is null");
            return (Criteria) this;
        }

        public Criteria andXhIsNotNull() {
            addCriterion("XH is not null");
            return (Criteria) this;
        }

        public Criteria andXhEqualTo(Integer value) {
            addCriterion("XH =", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotEqualTo(Integer value) {
            addCriterion("XH <>", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhGreaterThan(Integer value) {
            addCriterion("XH >", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhGreaterThanOrEqualTo(Integer value) {
            addCriterion("XH >=", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhLessThan(Integer value) {
            addCriterion("XH <", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhLessThanOrEqualTo(Integer value) {
            addCriterion("XH <=", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhIn(List<Integer> values) {
            addCriterion("XH in", values, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotIn(List<Integer> values) {
            addCriterion("XH not in", values, "xh");
            return (Criteria) this;
        }

        public Criteria andXhBetween(Integer value1, Integer value2) {
            addCriterion("XH between", value1, value2, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotBetween(Integer value1, Integer value2) {
            addCriterion("XH not between", value1, value2, "xh");
            return (Criteria) this;
        }

        public Criteria andZdIsNull() {
            addCriterion("ZD is null");
            return (Criteria) this;
        }

        public Criteria andZdIsNotNull() {
            addCriterion("ZD is not null");
            return (Criteria) this;
        }

        public Criteria andZdEqualTo(String value) {
            addCriterion("ZD =", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdNotEqualTo(String value) {
            addCriterion("ZD <>", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdGreaterThan(String value) {
            addCriterion("ZD >", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdGreaterThanOrEqualTo(String value) {
            addCriterion("ZD >=", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdLessThan(String value) {
            addCriterion("ZD <", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdLessThanOrEqualTo(String value) {
            addCriterion("ZD <=", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdLike(String value) {
            addCriterion("ZD like", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdNotLike(String value) {
            addCriterion("ZD not like", value, "zd");
            return (Criteria) this;
        }

        public Criteria andZdIn(List<String> values) {
            addCriterion("ZD in", values, "zd");
            return (Criteria) this;
        }

        public Criteria andZdNotIn(List<String> values) {
            addCriterion("ZD not in", values, "zd");
            return (Criteria) this;
        }

        public Criteria andZdBetween(String value1, String value2) {
            addCriterion("ZD between", value1, value2, "zd");
            return (Criteria) this;
        }

        public Criteria andZdNotBetween(String value1, String value2) {
            addCriterion("ZD not between", value1, value2, "zd");
            return (Criteria) this;
        }

        public Criteria andZdmcIsNull() {
            addCriterion("ZDMC is null");
            return (Criteria) this;
        }

        public Criteria andZdmcIsNotNull() {
            addCriterion("ZDMC is not null");
            return (Criteria) this;
        }

        public Criteria andZdmcEqualTo(String value) {
            addCriterion("ZDMC =", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcNotEqualTo(String value) {
            addCriterion("ZDMC <>", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcGreaterThan(String value) {
            addCriterion("ZDMC >", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcGreaterThanOrEqualTo(String value) {
            addCriterion("ZDMC >=", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcLessThan(String value) {
            addCriterion("ZDMC <", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcLessThanOrEqualTo(String value) {
            addCriterion("ZDMC <=", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcLike(String value) {
            addCriterion("ZDMC like", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcNotLike(String value) {
            addCriterion("ZDMC not like", value, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcIn(List<String> values) {
            addCriterion("ZDMC in", values, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcNotIn(List<String> values) {
            addCriterion("ZDMC not in", values, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcBetween(String value1, String value2) {
            addCriterion("ZDMC between", value1, value2, "zdmc");
            return (Criteria) this;
        }

        public Criteria andZdmcNotBetween(String value1, String value2) {
            addCriterion("ZDMC not between", value1, value2, "zdmc");
            return (Criteria) this;
        }

        public Criteria andBlIsNull() {
            addCriterion("BL is null");
            return (Criteria) this;
        }

        public Criteria andBlIsNotNull() {
            addCriterion("BL is not null");
            return (Criteria) this;
        }

        public Criteria andBlEqualTo(String value) {
            addCriterion("BL =", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlNotEqualTo(String value) {
            addCriterion("BL <>", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlGreaterThan(String value) {
            addCriterion("BL >", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlGreaterThanOrEqualTo(String value) {
            addCriterion("BL >=", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlLessThan(String value) {
            addCriterion("BL <", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlLessThanOrEqualTo(String value) {
            addCriterion("BL <=", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlLike(String value) {
            addCriterion("BL like", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlNotLike(String value) {
            addCriterion("BL not like", value, "bl");
            return (Criteria) this;
        }

        public Criteria andBlIn(List<String> values) {
            addCriterion("BL in", values, "bl");
            return (Criteria) this;
        }

        public Criteria andBlNotIn(List<String> values) {
            addCriterion("BL not in", values, "bl");
            return (Criteria) this;
        }

        public Criteria andBlBetween(String value1, String value2) {
            addCriterion("BL between", value1, value2, "bl");
            return (Criteria) this;
        }

        public Criteria andBlNotBetween(String value1, String value2) {
            addCriterion("BL not between", value1, value2, "bl");
            return (Criteria) this;
        }

        public Criteria andCmFIsNull() {
            addCriterion("CM_F is null");
            return (Criteria) this;
        }

        public Criteria andCmFIsNotNull() {
            addCriterion("CM_F is not null");
            return (Criteria) this;
        }

        public Criteria andCmFEqualTo(Integer value) {
            addCriterion("CM_F =", value, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFNotEqualTo(Integer value) {
            addCriterion("CM_F <>", value, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFGreaterThan(Integer value) {
            addCriterion("CM_F >", value, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFGreaterThanOrEqualTo(Integer value) {
            addCriterion("CM_F >=", value, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFLessThan(Integer value) {
            addCriterion("CM_F <", value, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFLessThanOrEqualTo(Integer value) {
            addCriterion("CM_F <=", value, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFIn(List<Integer> values) {
            addCriterion("CM_F in", values, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFNotIn(List<Integer> values) {
            addCriterion("CM_F not in", values, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFBetween(Integer value1, Integer value2) {
            addCriterion("CM_F between", value1, value2, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmFNotBetween(Integer value1, Integer value2) {
            addCriterion("CM_F not between", value1, value2, "cmF");
            return (Criteria) this;
        }

        public Criteria andCmLIsNull() {
            addCriterion("CM_L is null");
            return (Criteria) this;
        }

        public Criteria andCmLIsNotNull() {
            addCriterion("CM_L is not null");
            return (Criteria) this;
        }

        public Criteria andCmLEqualTo(Integer value) {
            addCriterion("CM_L =", value, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLNotEqualTo(Integer value) {
            addCriterion("CM_L <>", value, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLGreaterThan(Integer value) {
            addCriterion("CM_L >", value, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLGreaterThanOrEqualTo(Integer value) {
            addCriterion("CM_L >=", value, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLLessThan(Integer value) {
            addCriterion("CM_L <", value, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLLessThanOrEqualTo(Integer value) {
            addCriterion("CM_L <=", value, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLIn(List<Integer> values) {
            addCriterion("CM_L in", values, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLNotIn(List<Integer> values) {
            addCriterion("CM_L not in", values, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLBetween(Integer value1, Integer value2) {
            addCriterion("CM_L between", value1, value2, "cmL");
            return (Criteria) this;
        }

        public Criteria andCmLNotBetween(Integer value1, Integer value2) {
            addCriterion("CM_L not between", value1, value2, "cmL");
            return (Criteria) this;
        }

        public Criteria andXzIsNull() {
            addCriterion("XZ is null");
            return (Criteria) this;
        }

        public Criteria andXzIsNotNull() {
            addCriterion("XZ is not null");
            return (Criteria) this;
        }

        public Criteria andXzEqualTo(String value) {
            addCriterion("XZ =", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotEqualTo(String value) {
            addCriterion("XZ <>", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzGreaterThan(String value) {
            addCriterion("XZ >", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzGreaterThanOrEqualTo(String value) {
            addCriterion("XZ >=", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzLessThan(String value) {
            addCriterion("XZ <", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzLessThanOrEqualTo(String value) {
            addCriterion("XZ <=", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzLike(String value) {
            addCriterion("XZ like", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotLike(String value) {
            addCriterion("XZ not like", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzIn(List<String> values) {
            addCriterion("XZ in", values, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotIn(List<String> values) {
            addCriterion("XZ not in", values, "xz");
            return (Criteria) this;
        }

        public Criteria andXzBetween(String value1, String value2) {
            addCriterion("XZ between", value1, value2, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotBetween(String value1, String value2) {
            addCriterion("XZ not between", value1, value2, "xz");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}